package com.nsl.my_youlai.common.result;


import com.alibaba.fastjson2.annotation.JSONField;
import com.nsl.my_youlai.config.json.UploadFileStatusEnumSerializer;
import com.nsl.my_youlai.mystar.enums.NslEnumBaseI;
import com.nsl.my_youlai.mystar.enums.NslEnumUploadStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class UploadFileResult {

    String fileToken;
    private String originalFileName;

    // 标识注解，指定枚举的序列化。反序列化实现类
    @JSONField(serializeUsing = UploadFileStatusEnumSerializer.class)
    private NslEnumUploadStatus uploadStatusEnum;

    private String errorMsg;




}
